<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Tutorial: 配置</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Tutorial: 配置</h1>

    <section>

<header>
    

    <h2>配置</h2>
</header>

<article>
    <h2>属性配置</h2><table>
<thead>
<tr>
<th>属性(property)</th>
<th>取值</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>ct-data-role</td>
<td>page</td>
<td>有此属性的元素代表一个页面</td>
</tr>
<tr>
<td>ct-data-rel</td>
<td>boolean</td>
<td>true的时候带有此属性的元素点击可以执行返回操作</td>
</tr>
<tr>
<td>ct-pageId</td>
<td>string</td>
<td>用在<a>标签上代表要加载页面的id</td>
</tr>
<tr>
<td>ct-parameter</td>
<td>string</td>
<td>用在<a>标签上代表要传递的参数</td>
</tr>
<tr>
<td>ct-data-transition</td>
<td>slideleft</td>
<td>从右到左(overlay)</td>
</tr>
<tr>
<td></td>
<td>slideright</td>
<td>从左到右(overlay)</td>
</tr>
<tr>
<td></td>
<td>slideup</td>
<td>从下到上(overlay)</td>
</tr>
<tr>
<td></td>
<td>slidedown</td>
<td>从上到下(overlay)</td>
</tr>
<tr>
<td></td>
<td>wxslideleft</td>
<td>类似于微信的从右到左</td>
</tr>
<tr>
<td></td>
<td>wxslideright</td>
<td>类似于微信的从左到右</td>
</tr>
<tr>
<td></td>
<td>wxslideup</td>
<td>类似于微信的从下到上</td>
</tr>
<tr>
<td></td>
<td>wxslidedown</td>
<td>类似于微信的从上到下</td>
</tr>
<tr>
<td></td>
<td>pushslideleft</td>
<td>从右到左(push)</td>
</tr>
<tr>
<td></td>
<td>pushslideright</td>
<td>从左到右(push)</td>
</tr>
<tr>
<td></td>
<td>pushslideup</td>
<td>从下到上(push)</td>
</tr>
<tr>
<td></td>
<td>pushslidedown</td>
<td>从上到下(push)</td>
</tr>
<tr>
<td></td>
<td>material(缺省)</td>
<td>Android Material的风格</td>
</tr>
<tr>
<td>ct-data-mode</td>
<td>standard(缺省)</td>
<td>多例</td>
</tr>
<tr>
<td></td>
<td>single</td>
<td>单例(当点击返回时，会销毁)</td>
</tr>
<tr>
<td></td>
<td>singleInstance</td>
<td>完全单例(不会被销毁)</td>
</tr>
<tr>
<td></td>
<td>result</td>
<td>带有返回值的(可以向父页面带回返回值)</td>
</tr>
<tr>
<td></td>
<td>singleInstanceResult</td>
<td>带有返回值的完全单例(不会被销毁，可以向父页面带回返回值)</td>
</tr>
<tr>
<td>ct-data-ajax</td>
<td>boolean</td>
<td>是否交由框架处理a标签的跳转</td>
</tr>
<tr>
<td>ct-data-preload</td>
<td>boolean</td>
<td>是否提前预加载a标签的href属性的页面</td>
</tr>
<tr>
<td>ct-reload</td>
<td>boolean</td>
<td>是否改变window.history.length的数量</td>
</tr>
<tr>
<td>ct-data-intentfilter-action</td>
<td>string</td>
<td>如果页面要订阅通知时的标识</td>
</tr>
<tr>
<td>ct-data-intentfilter-categorys</td>
<td>[string1 string2 …]</td>
<td>订阅时的过滤参数</td>
</tr>
<tr>
<td>ct-data-intentfilter-priority</td>
<td>number 0(缺省)</td>
<td>发送有序广播时的优先级，默认值是0</td>
</tr>
</tbody>
</table>
</article>

</section>

</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BorasdCast.html">BorasdCast</a></li><li><a href="CtMobile.html">CtMobile</a></li><li><a href="CtMobileFactory.html">CtMobileFactory</a></li><li><a href="Page.html">Page</a></li><li><a href="Router.html">Router</a></li></ul><h3>Tutorials</h3><ul><li><a href="tutorial-config.html">配置</a></li><li><a href="tutorial-introduction.html">自述</a></li><li><a href="tutorial-tutorial.html">指南</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Nov 25 2018 09:00:21 GMT+0800 (中国标准时间)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>